<?php

use common\helpers\Url;

?>
<div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span>
    </button>
    <h4 class="modal-title">基本信息</h4>
</div>

<div class="modal-body">
    <div class="mailbox-read-info">
        <h3>[<?= \addons\Calendar\common\enums\CalendarTypeEnum::getValue($model->cate_id) ?>
            ]<?= \common\helpers\Html::decode($model->content); ?></h3>
        <h5>来自:<?= $model->member->realname; ?>
            <span class="mailbox-read-time pull-right"><?= Yii::$app->formatter->asDatetime($model->created_at); ?></span>
        </h5>
    </div>
    <!-- /.mailbox-controls -->
    <div class="mailbox-read-message">
        <p>开始日期：<?= $model->begin_date; ?></p>
        <p>结束日期：<?= $model->end_date; ?></p>
        <p>与会人员：<?= Yii::$app->merchantsService->member->getNames($model->attend); ?></p>
        <p>地点：<?= ($model->address); ?></p>
        <p>提醒：<?= \addons\Flow\common\enums\RemindTypeEnum::getValue($model->remind) ?></p>
    </div>
</div>
<div class="modal-footer">
    <button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
</div>